package main.java.DMDE.model.relationships;

import java.util.UUID;

import main.java.DMDE.model.Diagram;
import main.java.DMDE.model.relationships.strategy.InheritanceStrategy;
import main.java.DMDE.styling.StyleConstants;

public class Inheritance extends Relationship {

    public Inheritance(RelationshipComponent componentA,
	    RelationshipComponent componentB,UUID id) {
		super(componentA, componentB,id);
		linkName = StyleConstants.RELATIONSHIP_LINK_INHERITANCE_STYLE;
    }

    public Inheritance(Diagram diagram,UUID id) {
		super(id);
		validationStrategy = new InheritanceStrategy(diagram);
		linkName = StyleConstants.RELATIONSHIP_LINK_INHERITANCE_STYLE;
    }

    public Inheritance(Diagram diagram) {
    	validationStrategy = new InheritanceStrategy(diagram);
		linkName = StyleConstants.RELATIONSHIP_LINK_INHERITANCE_STYLE;
    }

	@Override
    public void setDirection(Direction direction) {
	// TODO Auto-generated method stub

    }

    @Override
    public Direction getDirection() {
	// TODO Auto-generated method stub
	return null;
    }

    @Override
    public RelationshipTypes getType() {
	return RelationshipTypes.Inheritance;
    }

}
